package com.yuhao.test;

import org.springframework.util.StringUtils;

/**
 * @program: bloom
 * @description:
 * @author: hao.yu
 * @create: 2019-09-25 16:05
 **/
public class PersonImpl implements Person {

	private String name;

	@Override
	public void setName(String Name) {
		this.name = name;
	}

	@Override
	public void say() {
		if (StringUtils.isEmpty(this.name)) {
			this.name = "yuhao";
		}
		System.out.println(this.name + ",Hello");
	}
}
